package com.fanco.learn_datastruct_leetcode.designpattern.adapter.classadapter;

/**
 * @author qiaowang 2022/2/10
 * 描述
 */
public class VoltageAdapter extends Voltage220V implements IVoltage5V{
    @Override
    public int output5V() {

        // 获取220电压
        int src = output220V();
        int dstV = src / 44;

        return dstV;
    }
}
